package com.meida.paotui.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 
 *
 * @author flyme
 * @date 2019-11-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_rider")
@TableAlias("rider")
@ApiModel(value="BusRider对象", description="")
public class BusRider extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "riderId", type = IdType.ID_WORKER)
    private Long riderId;

    @ApiModelProperty(value = "骑手用户id")
    private Long userId;

    @ApiModelProperty(value = "骑手最近经度")
    private String lng;

    @ApiModelProperty(value = "骑手最近纬度")
    private String lat;

    @ApiModelProperty(value = "骑手状态")
    private Integer status;

}
